package com.beiding.my.bemapping;

/*
    be实体内相关属性

    共有三种类型:
       基本数据类型
       单体引用类型
       列表引用类型

 */
interface BeAttributeMapper {

    //属性id
    String getId();

    //属性名称
    String getName();

    //通过名称
    void assignmentByAttributeName(Object bo, String[] segments, int currentSegment, Object v);

    void assignmentByAttributeId(Object bo, String[] segments, int currentSegment, Object v);

    void fillExpressionDetails(Class type, String[] segments, int currentSegment, ExpressionDetails expressionDetails);

}
